/**
 * Created by panjiapeng on 2017/7/20.
 */
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';

import { WorkspaceComponent } from './workspace.component';
import { TopMenuComponent } from '../top-menu/top-menu.component';
import { LeftNavComponent } from '../left-nav/left-nav.component';
import { AppSideMenuComponent } from '../left-nav/app-side-menu/app-side-menu.component';

import { EventBusService } from '../common/service/event-bus.service';
import { WorkspaceRoutesModule } from './workspace-routes.module';

@NgModule({
    imports:[
        RouterModule,
        CommonModule,
        WorkspaceRoutesModule
    ],
    declarations: [
        WorkspaceComponent,
        TopMenuComponent,
        LeftNavComponent,
        AppSideMenuComponent
    ],
    providers: [ EventBusService]
})
export class WorkspaceModule {}